﻿<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/Admin/Master/AdminMaster.Master" CodeBehind="ComapnyUpdateArea.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.RelationQuery.ComapnyUpdateArea" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="maincon">
        <div id="note">
            配送区域新增</div>
        <div id="note2">
        </div>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblcompanyid" runat="server" Text="企业编号："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtcompanyid" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblcompanyname" runat="server" Text="企业名称："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtcompanyname" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                <hz:HzButton ID="btnQuery0" runat="server" OnClick="btnQuery_Click" Text="查  询" CssClass="btn" />&nbsp;<hz:HzButton ID="btnExport" runat="server"  ToolTip="导出查询条件下的全部配送关系"  Text="导出Excel" CssClass="btn" onclick="btnExport_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="GvRelaion" CssClass="mainlist" runat="server" AutoGenerateColumns="False"  EmptyDataText="暂无符合要求的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="companyid" HeaderText="企业编号" />
            <asp:BoundField  DataField="companyname" HeaderText="企业名称"/>
            <asp:BoundField  DataField="配送区域" HeaderText="配送区域"/>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <hz:HzLinkButton ID="lbtnDel" runat="server" OnClientClick='<%# GetURLScript("ComapnyUpdateAreaDeatil.aspx?Companyid="+Eval("companyid")+"&Companyname="+Eval("companyname")+"")%>' OperateType="新增" >配送区域新增</hz:HzLinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明：</li>
        </ul>
    </div>
</asp:Content>
